﻿package mvc_model
{
	import flash.net.FileFilter;
	import flash.net.URLRequest;
	
	import flash.events.IOErrorEvent;
	import flash.events.ProgressEvent;
	import flash.events.SecurityErrorEvent;
	import flash.net.FileReference;
	
	public class Downloader
	{
		private var _fileReference:FileReference;
		
		public function Downloader()
		{
			_fileReference = new FileReference();
		}
		
		public function Download(path:String):void
		{
			_fileReference.download(new URLRequest(path));
		}
	}
}